package com.wx.fresh.platform.controller;

import com.wx.fresh.common.util.CommonResult;
import com.wx.fresh.platform.vo.PlatformBusinessManageVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "商家管理")
@RestController
@RequestMapping("platform/Manage")
public class PlatformBusinessManageController {

    //    查询所有商家
    @ApiOperation(value = "查询所有商家")
    @GetMapping("/findAllBusiness")
    public CommonResult businessFindAll(PlatformBusinessManageVo platformBusinessManageVo) {
        return null;
    }

    //    修改商家信息
    @ApiOperation(value = "修改商家信息")
    @PostMapping("/update")
    public Object businessUpdate(PlatformBusinessManageVo platformBusinessManageVo) {

        return null;

    }

    //    删除商家
    @ApiOperation(value = "删除商家")
    @PostMapping("/delete")
    public Object businesssDelete(PlatformBusinessManageVo platformBusinessManageVo) {
        return null;

    }

}
